<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>IO::Compress::Lzop - Write lzop files/buffers - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of IO-Compress-Lzop - MetaCPAN" href="https://metacpan.org/dist/IO-Compress-Lzop/releases.rss" />
        <link rel="canonical" href="./IO::Compress::Lzop.html" />
        <meta name="description" content="Write lzop files/buffers" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/IO::Compress::Lzop" />
<meta name="twitter:title"       content="IO::Compress::Lzop" />
<meta name="twitter:description" content="Write lzop files/buffers" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./IO::Compress::Lzop.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of IO-Compress-Lzop was released.">
      <span class="relatize">25 Jul 2023 16:01:42 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/IO-Compress-Lzop">IO-Compress-Lzop</a>
  </li>
  <li>
    Module version: 2.206
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/IO-Compress-Lzop/source/lib/IO/Compress/Lzop.pm">Source</a>
    (<a href="https://metacpan.org/dist/IO-Compress-Lzop/source/lib/IO/Compress/Lzop.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/IO-Compress-Lzop/source/lib/IO/Compress">Browse</a>
    (<a href="https://metacpan.org/dist/IO-Compress-Lzop/source/lib/IO/Compress?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/IO-Compress-Lzop/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="https://github.com/pmqs/IO-Compress-Lzop">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/IO-Compress-Lzop/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/pmqs/IO-Compress-Lzop">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/pmqs/IO-Compress-Lzop/issues">Issues</a>
      (0)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=IO-Compress-Lzop+2.206" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/I/IO-Compress-Lzop.html?oncpan=1&amp;distmat=1&amp;version=2.206&amp;grade=2" style="color: #090">109</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/I/IO-Compress-Lzop.html?oncpan=1&amp;distmat=1&amp;version=2.206&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/I/IO-Compress-Lzop.html?oncpan=1&amp;distmat=1&amp;version=2.206&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/PMQS/IO-Compress-Lzop-2.206">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on IO-Compress-Lzop who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 1
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/IO-Compress-Lzop-2.206/index.html">% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/IO-Compress-Lzop/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-Lzop-2.206.tar.gz">
      Download (<span itemprop="fileSize">80.06KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FPMQS%2FIO-Compress-Lzop-2.206%2Flib%2FIO%2FCompress%2FLzop.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/IO-Compress-Lzop/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/IO-Compress-Lzop/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:IO-Compress-Lzop">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="IO-Compress-Lzop">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/IO/Compress/Lzop.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="PMQS/IO-Compress-Lzop-2.206"
>2.206
  (PMQS on 2023-07-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.205"
>2.205
  (PMQS on 2023-07-16)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.204"
>2.204
  (PMQS on 2023-02-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.201"
>2.201
  (PMQS on 2022-06-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.103"
>2.103
  (PMQS on 2022-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.101"
>2.101
  (PMQS on 2021-02-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.100"
>2.100
  (PMQS on 2021-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.096"
>2.096
  (PMQS on 2020-07-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.095"
>2.095
  (PMQS on 2020-07-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.094"
>2.094
  (PMQS on 2020-07-14)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.093"
>2.093
  (PMQS on 2019-12-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.092"
>2.092
  (PMQS on 2019-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.091"
>2.091
  (PMQS on 2019-11-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.090"
>2.090
  (PMQS on 2019-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.089"
>2.089
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.088"
>2.088
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.087"
>2.087
  (PMQS on 2019-08-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.086"
>2.086
  (PMQS on 2019-03-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.084"
>2.084
  (PMQS on 2019-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.083"
>2.083
  (PMQS on 2018-12-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.081"
>2.081
  (PMQS on 2018-04-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.080"
>2.080
  (PMQS on 2018-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.074"
>2.074
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.072"
>2.072
  (PMQS on 2017-02-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.070"
>2.070
  (PMQS on 2016-12-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.069"
>2.069
  (PMQS on 2015-09-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.068"
>2.068
  (PMQS on 2014-12-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.067"
>2.067
  (PMQS on 2014-12-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.066"
>2.066
  (PMQS on 2014-09-21)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.064"
>2.064
  (PMQS on 2014-02-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.063"
>2.063
  (PMQS on 2013-11-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.062"
>2.062
  (PMQS on 2013-08-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.061"
>2.061
  (PMQS on 2013-05-27)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.060"
>2.060
  (PMQS on 2013-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.059"
>2.059
  (PMQS on 2012-12-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.058"
>2.058
  (PMQS on 2012-11-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.057"
>2.057
  (PMQS on 2012-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.055"
>2.055
  (PMQS on 2012-08-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.052"
>2.052
  (PMQS on 2012-04-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.049"
>2.049
  (PMQS on 2012-02-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.048"
>2.048
  (PMQS on 2012-01-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.047"
>2.047
  (PMQS on 2012-01-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.045"
>2.045
  (PMQS on 2011-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.044"
>2.044
  (PMQS on 2011-12-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.043"
>2.043
  (PMQS on 2011-11-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.042"
>2.042
  (PMQS on 2011-11-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.040"
>2.040
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.039"
>2.039
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.037"
>2.037
  (PMQS on 2011-06-22)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.036"
>2.036
  (PMQS on 2011-06-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.035"
>2.035
  (PMQS on 2011-05-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.034"
>2.034
  (PMQS on 2011-05-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.033"
>2.033
  (PMQS on 2011-01-11)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.032"
>2.032
  (PMQS on 2011-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.030"
>2.030
  (PMQS on 2010-07-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.027"
>2.027
  (PMQS on 2010-04-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.026"
>2.026
  (PMQS on 2010-04-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.025"
>2.025
  (PMQS on 2010-03-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.024"
>2.024
  (PMQS on 2010-01-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.023"
>2.023
  (PMQS on 2009-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.021"
>2.021
  (PMQS on 2009-08-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.020"
>2.020
  (PMQS on 2009-06-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.019"
>2.019
  (PMQS on 2009-05-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.017"
>2.017
  (PMQS on 2009-04-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.015"
>2.015
  (PMQS on 2008-09-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.014"
>2.014
  (PMQS on 2008-09-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.012"
>2.012
  (PMQS on 2008-07-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.011"
>2.011
  (PMQS on 2008-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.010"
>2.010
  (PMQS on 2008-05-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.009"
>2.009
  (PMQS on 2008-04-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.008"
>2.008
  (PMQS on 2007-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.006"
>2.006
  (PMQS on 2007-09-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.005"
>2.005
  (PMQS on 2007-07-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.004"
>2.004
  (PMQS on 2007-03-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.003"
>2.003
  (PMQS on 2007-01-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.002"
>2.002
  (PMQS on 2006-12-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.001"
>2.001
  (PMQS on 2006-11-01)</option>
<optgroup label="BackPAN">'
<option
  
  value="PMQS/IO-Compress-Lzop-2.073"
>2.073
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.018"
>2.018
  (PMQS on 2009-05-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_14"
>2.000_14 DEV
  (PMQS on 2006-10-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_13"
>2.000_13 DEV
  (PMQS on 2006-06-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_12"
>2.000_12 DEV
  (PMQS on 2006-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_11"
>2.000_11 DEV
  (PMQS on 2006-04-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_10"
>2.000_10 DEV
  (PMQS on 2006-03-13)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_09"
>2.000_09 DEV
  (PMQS on 2006-03-03)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/PMQS/IO-Compress-Lzop-2.206/diff/' + encodeURIComponent(this.value) + '/lib/IO/Compress/Lzop.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="PMQS/IO-Compress-Lzop-2.206"
>2.206
  (PMQS on 2023-07-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.205"
>2.205
  (PMQS on 2023-07-16)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.204"
>2.204
  (PMQS on 2023-02-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.201"
>2.201
  (PMQS on 2022-06-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.103"
>2.103
  (PMQS on 2022-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.101"
>2.101
  (PMQS on 2021-02-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.100"
>2.100
  (PMQS on 2021-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.096"
>2.096
  (PMQS on 2020-07-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.095"
>2.095
  (PMQS on 2020-07-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.094"
>2.094
  (PMQS on 2020-07-14)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.093"
>2.093
  (PMQS on 2019-12-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.092"
>2.092
  (PMQS on 2019-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.091"
>2.091
  (PMQS on 2019-11-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.090"
>2.090
  (PMQS on 2019-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.089"
>2.089
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.088"
>2.088
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.087"
>2.087
  (PMQS on 2019-08-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.086"
>2.086
  (PMQS on 2019-03-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.084"
>2.084
  (PMQS on 2019-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.083"
>2.083
  (PMQS on 2018-12-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.081"
>2.081
  (PMQS on 2018-04-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.080"
>2.080
  (PMQS on 2018-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.074"
>2.074
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.072"
>2.072
  (PMQS on 2017-02-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.070"
>2.070
  (PMQS on 2016-12-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.069"
>2.069
  (PMQS on 2015-09-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.068"
>2.068
  (PMQS on 2014-12-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.067"
>2.067
  (PMQS on 2014-12-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.066"
>2.066
  (PMQS on 2014-09-21)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.064"
>2.064
  (PMQS on 2014-02-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.063"
>2.063
  (PMQS on 2013-11-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.062"
>2.062
  (PMQS on 2013-08-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.061"
>2.061
  (PMQS on 2013-05-27)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.060"
>2.060
  (PMQS on 2013-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.059"
>2.059
  (PMQS on 2012-12-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.058"
>2.058
  (PMQS on 2012-11-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.057"
>2.057
  (PMQS on 2012-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.055"
>2.055
  (PMQS on 2012-08-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.052"
>2.052
  (PMQS on 2012-04-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.049"
>2.049
  (PMQS on 2012-02-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.048"
>2.048
  (PMQS on 2012-01-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.047"
>2.047
  (PMQS on 2012-01-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.045"
>2.045
  (PMQS on 2011-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.044"
>2.044
  (PMQS on 2011-12-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.043"
>2.043
  (PMQS on 2011-11-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.042"
>2.042
  (PMQS on 2011-11-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.040"
>2.040
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.039"
>2.039
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.037"
>2.037
  (PMQS on 2011-06-22)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.036"
>2.036
  (PMQS on 2011-06-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.035"
>2.035
  (PMQS on 2011-05-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.034"
>2.034
  (PMQS on 2011-05-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.033"
>2.033
  (PMQS on 2011-01-11)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.032"
>2.032
  (PMQS on 2011-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.030"
>2.030
  (PMQS on 2010-07-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.027"
>2.027
  (PMQS on 2010-04-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.026"
>2.026
  (PMQS on 2010-04-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.025"
>2.025
  (PMQS on 2010-03-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.024"
>2.024
  (PMQS on 2010-01-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.023"
>2.023
  (PMQS on 2009-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.021"
>2.021
  (PMQS on 2009-08-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.020"
>2.020
  (PMQS on 2009-06-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.019"
>2.019
  (PMQS on 2009-05-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.017"
>2.017
  (PMQS on 2009-04-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.015"
>2.015
  (PMQS on 2008-09-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.014"
>2.014
  (PMQS on 2008-09-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.012"
>2.012
  (PMQS on 2008-07-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.011"
>2.011
  (PMQS on 2008-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.010"
>2.010
  (PMQS on 2008-05-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.009"
>2.009
  (PMQS on 2008-04-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.008"
>2.008
  (PMQS on 2007-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.006"
>2.006
  (PMQS on 2007-09-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.005"
>2.005
  (PMQS on 2007-07-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.004"
>2.004
  (PMQS on 2007-03-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.003"
>2.003
  (PMQS on 2007-01-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.002"
>2.002
  (PMQS on 2006-12-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.001"
>2.001
  (PMQS on 2006-11-01)</option>
<optgroup label="BackPAN">'
<option
  
  value="PMQS/IO-Compress-Lzop-2.073"
>2.073
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.018"
>2.018
  (PMQS on 2009-05-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_14"
>2.000_14 DEV
  (PMQS on 2006-10-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_13"
>2.000_13 DEV
  (PMQS on 2006-06-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_12"
>2.000_12 DEV
  (PMQS on 2006-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_11"
>2.000_11 DEV
  (PMQS on 2006-04-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_10"
>2.000_10 DEV
  (PMQS on 2006-03-13)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_09"
>2.000_09 DEV
  (PMQS on 2006-03-03)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/Compress::LZO" title="Compress::LZO" class="ellipsis">Compress::LZO</a></li>
  <li><a href="https://metacpan.org/pod/IO::Compress::Base" title="IO::Compress::Base" class="ellipsis">IO::Compress::Base</a></li>
  <li><a href="https://metacpan.org/pod/IO::Uncompress::Base" title="IO::Uncompress::Base" class="ellipsis">IO::Uncompress::Base</a></li>
  <li><i class="ttip" title="dynamic_config enabled">and possibly others</i></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/IO::Compress::Lzop/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=IO%3A%3ACompress%3A%3ALzop">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=IO-Compress-Lzop">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/PMQS/IO-Compress-Lzop-2.206/view/lib/IO/Compress/Lzop.pm">This version</a>
    </li>
    <li>
      <a href="./IO::Compress::Lzop.html">Latest version</a>
    </li>
    <li>
    </li>
    <li>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/PMQS" class="author-name">Paul Marquess</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/IO/Compress/Lzop.pm&#39;" class="">
<option
  selected
  value="PMQS/IO-Compress-Lzop-2.206"
>2.206
  (PMQS on 2023-07-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.205"
>2.205
  (PMQS on 2023-07-16)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.204"
>2.204
  (PMQS on 2023-02-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.201"
>2.201
  (PMQS on 2022-06-25)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.103"
>2.103
  (PMQS on 2022-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.101"
>2.101
  (PMQS on 2021-02-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.100"
>2.100
  (PMQS on 2021-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.096"
>2.096
  (PMQS on 2020-07-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.095"
>2.095
  (PMQS on 2020-07-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.094"
>2.094
  (PMQS on 2020-07-14)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.093"
>2.093
  (PMQS on 2019-12-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.092"
>2.092
  (PMQS on 2019-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.091"
>2.091
  (PMQS on 2019-11-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.090"
>2.090
  (PMQS on 2019-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.089"
>2.089
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.088"
>2.088
  (PMQS on 2019-11-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.087"
>2.087
  (PMQS on 2019-08-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.086"
>2.086
  (PMQS on 2019-03-31)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.084"
>2.084
  (PMQS on 2019-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.083"
>2.083
  (PMQS on 2018-12-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.081"
>2.081
  (PMQS on 2018-04-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.080"
>2.080
  (PMQS on 2018-04-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.074"
>2.074
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.072"
>2.072
  (PMQS on 2017-02-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.070"
>2.070
  (PMQS on 2016-12-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.069"
>2.069
  (PMQS on 2015-09-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.068"
>2.068
  (PMQS on 2014-12-23)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.067"
>2.067
  (PMQS on 2014-12-08)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.066"
>2.066
  (PMQS on 2014-09-21)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.064"
>2.064
  (PMQS on 2014-02-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.063"
>2.063
  (PMQS on 2013-11-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.062"
>2.062
  (PMQS on 2013-08-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.061"
>2.061
  (PMQS on 2013-05-27)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.060"
>2.060
  (PMQS on 2013-01-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.059"
>2.059
  (PMQS on 2012-12-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.058"
>2.058
  (PMQS on 2012-11-12)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.057"
>2.057
  (PMQS on 2012-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.055"
>2.055
  (PMQS on 2012-08-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.052"
>2.052
  (PMQS on 2012-04-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.049"
>2.049
  (PMQS on 2012-02-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.048"
>2.048
  (PMQS on 2012-01-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.047"
>2.047
  (PMQS on 2012-01-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.045"
>2.045
  (PMQS on 2011-12-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.044"
>2.044
  (PMQS on 2011-12-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.043"
>2.043
  (PMQS on 2011-11-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.042"
>2.042
  (PMQS on 2011-11-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.040"
>2.040
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.039"
>2.039
  (PMQS on 2011-10-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.037"
>2.037
  (PMQS on 2011-06-22)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.036"
>2.036
  (PMQS on 2011-06-18)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.035"
>2.035
  (PMQS on 2011-05-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.034"
>2.034
  (PMQS on 2011-05-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.033"
>2.033
  (PMQS on 2011-01-11)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.032"
>2.032
  (PMQS on 2011-01-06)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.030"
>2.030
  (PMQS on 2010-07-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.027"
>2.027
  (PMQS on 2010-04-24)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.026"
>2.026
  (PMQS on 2010-04-07)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.025"
>2.025
  (PMQS on 2010-03-28)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.024"
>2.024
  (PMQS on 2010-01-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.023"
>2.023
  (PMQS on 2009-11-09)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.021"
>2.021
  (PMQS on 2009-08-30)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.020"
>2.020
  (PMQS on 2009-06-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.019"
>2.019
  (PMQS on 2009-05-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.017"
>2.017
  (PMQS on 2009-04-04)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.015"
>2.015
  (PMQS on 2008-09-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.014"
>2.014
  (PMQS on 2008-09-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.012"
>2.012
  (PMQS on 2008-07-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.011"
>2.011
  (PMQS on 2008-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.010"
>2.010
  (PMQS on 2008-05-05)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.009"
>2.009
  (PMQS on 2008-04-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.008"
>2.008
  (PMQS on 2007-11-10)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.006"
>2.006
  (PMQS on 2007-09-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.005"
>2.005
  (PMQS on 2007-07-01)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.004"
>2.004
  (PMQS on 2007-03-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.003"
>2.003
  (PMQS on 2007-01-02)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.002"
>2.002
  (PMQS on 2006-12-29)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.001"
>2.001
  (PMQS on 2006-11-01)</option>
<optgroup label="BackPAN">'
<option
  
  value="PMQS/IO-Compress-Lzop-2.073"
>2.073
  (PMQS on 2017-02-19)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.018"
>2.018
  (PMQS on 2009-05-03)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_14"
>2.000_14 DEV
  (PMQS on 2006-10-26)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_13"
>2.000_13 DEV
  (PMQS on 2006-06-20)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_12"
>2.000_12 DEV
  (PMQS on 2006-05-17)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_11"
>2.000_11 DEV
  (PMQS on 2006-04-15)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_10"
>2.000_10 DEV
  (PMQS on 2006-03-13)</option>
<option
  
  value="PMQS/IO-Compress-Lzop-2.000_09"
>2.000_09 DEV
  (PMQS on 2006-03-03)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/IO-Compress-Lzop">IO-Compress-Lzop-2.206</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage zero &#10;
          No dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="5"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="10"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="IO-Compress-Lzop-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="IO-Compress-Lzop-2.206">
    <input type="hidden" name="author" value="PMQS">
    <input type="hidden" name="distribution" value="IO-Compress-Lzop">
    <button type="submit" class="favorite"><span></span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./IO::Compress::Lzop.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite">
<span></span> ++</a>
</div>
   / <span>IO::Compress::Lzop</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./IO::Compress::Lzop.html#NAME">NAME</a></li>
  <li><a href="./IO::Compress::Lzop.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./IO::Compress::Lzop.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./IO::Compress::Lzop.html#Functional-Interface">Functional Interface</a>
    <ul>
      <li><a href="./IO::Compress::Lzop.html#lzop-$input_filename_or_reference-=%3E-$output_filename_or_reference-%5B,-OPTS%5D">lzop $input_filename_or_reference =&gt; $output_filename_or_reference [, OPTS]</a>
        <ul>
          <li><a href="./IO::Compress::Lzop.html#The-$input_filename_or_reference-parameter">The $input_filename_or_reference parameter</a></li>
          <li><a href="./IO::Compress::Lzop.html#The-$output_filename_or_reference-parameter">The $output_filename_or_reference parameter</a></li>
        </ul>
      </li>
      <li><a href="./IO::Compress::Lzop.html#Notes">Notes</a></li>
      <li><a href="./IO::Compress::Lzop.html#Optional-Parameters">Optional Parameters</a></li>
      <li><a href="./IO::Compress::Lzop.html#Oneshot-Examples">Oneshot Examples</a>
        <ul>
          <li><a href="./IO::Compress::Lzop.html#Streaming">Streaming</a></li>
          <li><a href="./IO::Compress::Lzop.html#Compressing-a-file-from-the-filesystem">Compressing a file from the filesystem</a></li>
          <li><a href="./IO::Compress::Lzop.html#Reading-from-a-Filehandle-and-writing-to-an-in-memory-buffer">Reading from a Filehandle and writing to an in-memory buffer</a></li>
          <li><a href="./IO::Compress::Lzop.html#Compressing-multiple-files">Compressing multiple files</a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="./IO::Compress::Lzop.html#OO-Interface">OO Interface</a>
    <ul>
      <li><a href="./IO::Compress::Lzop.html#Constructor">Constructor</a></li>
      <li><a href="./IO::Compress::Lzop.html#Constructor-Options">Constructor Options</a></li>
      <li><a href="./IO::Compress::Lzop.html#Examples">Examples</a>
        <ul>
          <li><a href="./IO::Compress::Lzop.html#Streaming1">Streaming</a></li>
          <li><a href="./IO::Compress::Lzop.html#Compressing-a-file-from-the-filesystem1">Compressing a file from the filesystem</a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="./IO::Compress::Lzop.html#Methods">Methods</a>
    <ul>
      <li><a href="./IO::Compress::Lzop.html#print">print</a></li>
      <li><a href="./IO::Compress::Lzop.html#printf">printf</a></li>
      <li><a href="./IO::Compress::Lzop.html#syswrite">syswrite</a></li>
      <li><a href="./IO::Compress::Lzop.html#write">write</a></li>
      <li><a href="./IO::Compress::Lzop.html#flush">flush</a></li>
      <li><a href="./IO::Compress::Lzop.html#tell">tell</a></li>
      <li><a href="./IO::Compress::Lzop.html#eof">eof</a></li>
      <li><a href="./IO::Compress::Lzop.html#seek">seek</a></li>
      <li><a href="./IO::Compress::Lzop.html#binmode">binmode</a></li>
      <li><a href="./IO::Compress::Lzop.html#opened">opened</a></li>
      <li><a href="./IO::Compress::Lzop.html#autoflush">autoflush</a></li>
      <li><a href="./IO::Compress::Lzop.html#input_line_number">input_line_number</a></li>
      <li><a href="./IO::Compress::Lzop.html#fileno">fileno</a></li>
      <li><a href="./IO::Compress::Lzop.html#close">close</a></li>
      <li><a href="./IO::Compress::Lzop.html#newStream(%5BOPTS%5D)">newStream([OPTS])</a></li>
    </ul>
  </li>
  <li><a href="./IO::Compress::Lzop.html#Importing">Importing</a></li>
  <li><a href="./IO::Compress::Lzop.html#EXAMPLES">EXAMPLES</a></li>
  <li><a href="./IO::Compress::Lzop.html#SUPPORT">SUPPORT</a></li>
  <li><a href="./IO::Compress::Lzop.html#SEE-ALSO">SEE ALSO</a></li>
  <li><a href="./IO::Compress::Lzop.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./IO::Compress::Lzop.html#MODIFICATION-HISTORY">MODIFICATION HISTORY</a></li>
  <li><a href="./IO::Compress::Lzop.html#COPYRIGHT-AND-LICENSE">COPYRIGHT AND LICENSE</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>IO::Compress::Lzop - Write lzop files/buffers</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    use IO::Compress::Lzop qw(lzop $LzopError) ;

    my $status = lzop $input =&gt; $output [,OPTS]
        or die &quot;lzop failed: $LzopError\n&quot;;

    my $z = IO::Compress::Lzop-&gt;new( $output [,OPTS] )
        or die &quot;lzop failed: $LzopError\n&quot;;

    $z-&gt;print($string);
    $z-&gt;printf($format, $string);
    $z-&gt;write($string);
    $z-&gt;syswrite($string [, $length, $offset]);
    $z-&gt;flush();
    $z-&gt;tell();
    $z-&gt;eof();
    $z-&gt;seek($position, $whence);
    $z-&gt;binmode();
    $z-&gt;fileno();
    $z-&gt;opened();
    $z-&gt;autoflush();
    $z-&gt;input_line_number();
    $z-&gt;newStream( [OPTS] );

    $z-&gt;close() ;

    $LzopError ;

    # IO::File mode

    print $z $string;
    printf $z $format, $string;
    tell $z
    eof $z
    seek $z, $position, $whence
    binmode $z
    fileno $z
    close $z ;</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>This module provides a Perl interface that allows writing lzop compressed data to files or buffer.</p>

<p>For reading lzop files/buffers, see the companion module <a href="./IO::Uncompress::UnLzop.html">IO::Uncompress::UnLzop</a>.</p>

<h1 id="Functional-Interface"><a id="Functional"></a>Functional Interface</h1>

<p>A top-level function, <code>lzop</code>, is provided to carry out &quot;one-shot&quot; compression between buffers and/or files. For finer control over the compression process, see the <a href="./IO::Compress::Lzop.html#OO-Interface">&quot;OO Interface&quot;</a> section.</p>

<pre><code>    use IO::Compress::Lzop qw(lzop $LzopError) ;

    lzop $input_filename_or_reference =&gt; $output_filename_or_reference [,OPTS]
        or die &quot;lzop failed: $LzopError\n&quot;;</code></pre>

<p>The functional interface needs Perl5.005 or better.</p>

<h2 id="lzop-$input_filename_or_reference-=&gt;-$output_filename_or_reference-[,-OPTS]"><a id="lzop"></a><a id="lzop--input_filename_or_reference----output_filename_or_reference---OPTS"></a>lzop $input_filename_or_reference =&gt; $output_filename_or_reference [, OPTS]</h2>

<p><code>lzop</code> expects at least two parameters, <code>$input_filename_or_reference</code> and <code>$output_filename_or_reference</code> and zero or more optional parameters (see <a href="./IO::Compress::Lzop.html#Optional-Parameters">&quot;Optional Parameters&quot;</a>)</p>

<h3 id="The-$input_filename_or_reference-parameter"><a id="The"></a><a id="The--input_filename_or_reference-parameter"></a>The <code>$input_filename_or_reference</code> parameter</h3>

<p>The parameter, <code>$input_filename_or_reference</code>, is used to define the source of the uncompressed data.</p>

<p>It can take one of the following forms:</p>

<dl>

<dt id="A-filename"><a id="A"></a>A filename</dt>
<dd>

<p>If the <code>$input_filename_or_reference</code> parameter is a simple scalar, it is assumed to be a filename. This file will be opened for reading and the input data will be read from it.</p>

</dd>
<dt id="A-filehandle"><a id="A1"></a>A filehandle</dt>
<dd>

<p>If the <code>$input_filename_or_reference</code> parameter is a filehandle, the input data will be read from it. The string &#39;-&#39; can be used as an alias for standard input.</p>

</dd>
<dt id="A-scalar-reference"><a id="A2"></a>A scalar reference</dt>
<dd>

<p>If <code>$input_filename_or_reference</code> is a scalar reference, the input data will be read from <code>$$input_filename_or_reference</code>.</p>

</dd>
<dt id="An-array-reference"><a id="An"></a>An array reference</dt>
<dd>

<p>If <code>$input_filename_or_reference</code> is an array reference, each element in the array must be a filename.</p>

<p>The input data will be read from each file in turn.</p>

<p>The complete array will be walked to ensure that it only contains valid filenames before any data is compressed.</p>

</dd>
<dt id="An-Input-FileGlob-string"><a id="An1"></a>An Input FileGlob string</dt>
<dd>

<p>If <code>$input_filename_or_reference</code> is a string that is delimited by the characters &quot;&lt;&quot; and &quot;&gt;&quot; <code>lzop</code> will assume that it is an <i>input fileglob string</i>. The input is the list of files that match the fileglob.</p>

<p>See <a href="https://metacpan.org/pod/File::GlobMapper">File::GlobMapper</a> for more details.</p>

</dd>
</dl>

<p>If the <code>$input_filename_or_reference</code> parameter is any other type, <code>undef</code> will be returned.</p>

<p>In addition, if <code>$input_filename_or_reference</code> is a simple filename, the default values for the <code>Name</code> and <code>Time</code> options will be sourced from that file.</p>

<p>If you do not want to use these defaults they can be overridden by explicitly setting the <code>Name</code> and <code>Time</code> options or by setting the <code>Minimal</code> parameter.</p>

<h3 id="The-$output_filename_or_reference-parameter"><a id="The1"></a><a id="The--output_filename_or_reference-parameter"></a>The <code>$output_filename_or_reference</code> parameter</h3>

<p>The parameter <code>$output_filename_or_reference</code> is used to control the destination of the compressed data. This parameter can take one of these forms.</p>

<dl>

<dt id="A-filename1"><a id="A3"></a>A filename</dt>
<dd>

<p>If the <code>$output_filename_or_reference</code> parameter is a simple scalar, it is assumed to be a filename. This file will be opened for writing and the compressed data will be written to it.</p>

</dd>
<dt id="A-filehandle1"><a id="A4"></a>A filehandle</dt>
<dd>

<p>If the <code>$output_filename_or_reference</code> parameter is a filehandle, the compressed data will be written to it. The string &#39;-&#39; can be used as an alias for standard output.</p>

</dd>
<dt id="A-scalar-reference1"><a id="A5"></a>A scalar reference</dt>
<dd>

<p>If <code>$output_filename_or_reference</code> is a scalar reference, the compressed data will be stored in <code>$$output_filename_or_reference</code>.</p>

</dd>
<dt id="An-Array-Reference"><a id="An2"></a>An Array Reference</dt>
<dd>

<p>If <code>$output_filename_or_reference</code> is an array reference, the compressed data will be pushed onto the array.</p>

</dd>
<dt id="An-Output-FileGlob"><a id="An3"></a>An Output FileGlob</dt>
<dd>

<p>If <code>$output_filename_or_reference</code> is a string that is delimited by the characters &quot;&lt;&quot; and &quot;&gt;&quot; <code>lzop</code> will assume that it is an <i>output fileglob string</i>. The output is the list of files that match the fileglob.</p>

<p>When <code>$output_filename_or_reference</code> is an fileglob string, <code>$input_filename_or_reference</code> must also be a fileglob string. Anything else is an error.</p>

<p>See <a href="https://metacpan.org/pod/File::GlobMapper">File::GlobMapper</a> for more details.</p>

</dd>
</dl>

<p>If the <code>$output_filename_or_reference</code> parameter is any other type, <code>undef</code> will be returned.</p>

<h2 id="Notes">Notes</h2>

<p>When <code>$input_filename_or_reference</code> maps to multiple files/buffers and <code>$output_filename_or_reference</code> is a single file/buffer the input files/buffers will each be stored in <code>$output_filename_or_reference</code> as a distinct entry.</p>

<h2 id="Optional-Parameters"><a id="Optional"></a>Optional Parameters</h2>

<p>The optional parameters for the one-shot function <code>lzop</code> are (for the most part) identical to those used with the OO interface defined in the <a href="./IO::Compress::Lzop.html#Constructor-Options">&quot;Constructor Options&quot;</a> section. The exceptions are listed below</p>

<dl>

<dt id="AutoClose-=&gt;-0|1"><a id="AutoClose"></a><a id="AutoClose---0-1"></a><code>AutoClose =&gt; 0|1</code></dt>
<dd>

<p>This option applies to any input or output data streams to <code>lzop</code> that are filehandles.</p>

<p>If <code>AutoClose</code> is specified, and the value is true, it will result in all input and/or output filehandles being closed once <code>lzop</code> has completed.</p>

<p>This parameter defaults to 0.</p>

</dd>
<dt id="BinModeIn-=&gt;-0|1"><a id="BinModeIn"></a><a id="BinModeIn---0-1"></a><code>BinModeIn =&gt; 0|1</code></dt>
<dd>

<p>This option is now a no-op. All files will be read in binmode.</p>

</dd>
<dt id="Append-=&gt;-0|1"><a id="Append"></a><a id="Append---0-1"></a><code>Append =&gt; 0|1</code></dt>
<dd>

<p>The behaviour of this option is dependent on the type of output data stream.</p>

<ul>

<li><p>A Buffer</p>

<p>If <code>Append</code> is enabled, all compressed data will be append to the end of the output buffer. Otherwise the output buffer will be cleared before any compressed data is written to it.</p>

</li>
<li><p>A Filename</p>

<p>If <code>Append</code> is enabled, the file will be opened in append mode. Otherwise the contents of the file, if any, will be truncated before any compressed data is written to it.</p>

</li>
<li><p>A Filehandle</p>

<p>If <code>Append</code> is enabled, the filehandle will be positioned to the end of the file via a call to <code>seek</code> before any compressed data is written to it. Otherwise the file pointer will not be moved.</p>

</li>
</ul>

<p>When <code>Append</code> is specified, and set to true, it will <i>append</i> all compressed data to the output data stream.</p>

<p>So when the output is a filehandle it will carry out a seek to the eof before writing any compressed data. If the output is a filename, it will be opened for appending. If the output is a buffer, all compressed data will be appended to the existing buffer.</p>

<p>Conversely when <code>Append</code> is not specified, or it is present and is set to false, it will operate as follows.</p>

<p>When the output is a filename, it will truncate the contents of the file before writing any compressed data. If the output is a filehandle its position will not be changed. If the output is a buffer, it will be wiped before any compressed data is output.</p>

<p>Defaults to 0.</p>

</dd>
</dl>

<h2 id="Oneshot-Examples"><a id="Oneshot"></a>Oneshot Examples</h2>

<p>Here are a few example that show the capabilities of the module.</p>

<h3 id="Streaming">Streaming</h3>

<p>This very simple command line example demonstrates the streaming capabilities of the module. The code reads data from STDIN, compresses it, and writes the compressed data to STDOUT.</p>

<pre><code>    $ echo hello world | perl -MIO::Compress::Lzop=lzop -e &#39;lzop \*STDIN =&gt; \*STDOUT&#39; &gt;output.lzo</code></pre>

<p>The special filename &quot;-&quot; can be used as a standin for both <code>\*STDIN</code> and <code>\*STDOUT</code>, so the above can be rewritten as</p>

<pre><code>    $ echo hello world | perl -MIO::Compress::Lzop=lzop -e &#39;lzop &quot;-&quot; =&gt; &quot;-&quot;&#39; &gt;output.lzo</code></pre>

<h3 id="Compressing-a-file-from-the-filesystem"><a id="Compressing"></a>Compressing a file from the filesystem</h3>

<p>To read the contents of the file <code>file1.txt</code> and write the compressed data to the file <code>file1.txt.lzo</code>.</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;

    my $input = &quot;file1.txt&quot;;
    lzop $input =&gt; &quot;$input.lzo&quot;
        or die &quot;lzop failed: $LzopError\n&quot;;</code></pre>

<h3 id="Reading-from-a-Filehandle-and-writing-to-an-in-memory-buffer"><a id="Reading"></a>Reading from a Filehandle and writing to an in-memory buffer</h3>

<p>To read from an existing Perl filehandle, <code>$input</code>, and write the compressed data to a buffer, <code>$buffer</code>.</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;
    use IO::File ;

    my $input = IO::File-&gt;new( &quot;&lt;file1.txt&quot; )
        or die &quot;Cannot open &#39;file1.txt&#39;: $!\n&quot; ;
    my $buffer ;
    lzop $input =&gt; \$buffer
        or die &quot;lzop failed: $LzopError\n&quot;;</code></pre>

<h3 id="Compressing-multiple-files"><a id="Compressing1"></a>Compressing multiple files</h3>

<p>To compress all files in the directory &quot;/my/home&quot; that match &quot;*.txt&quot; and store the compressed data in the same directory</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;

    lzop &#39;&lt;/my/home/*.txt&gt;&#39; =&gt; &#39;&lt;*.lzo&gt;&#39;
        or die &quot;lzop failed: $LzopError\n&quot;;</code></pre>

<p>and if you want to compress each file one at a time, this will do the trick</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;

    for my $input ( glob &quot;/my/home/*.txt&quot; )
    {
        my $output = &quot;$input.lzo&quot; ;
        lzop $input =&gt; $output
            or die &quot;Error compressing &#39;$input&#39;: $LzopError\n&quot;;
    }</code></pre>

<h1 id="OO-Interface"><a id="OO"></a>OO Interface</h1>

<h2 id="Constructor">Constructor</h2>

<p>The format of the constructor for <code>IO::Compress::Lzop</code> is shown below</p>

<pre><code>    my $z = IO::Compress::Lzop-&gt;new( $output [,OPTS] )
        or die &quot;IO::Compress::Lzop failed: $LzopError\n&quot;;</code></pre>

<p>The constructor takes one mandatory parameter, <code>$output</code>, defined below and zero or more <code>OPTS</code>, defined in <a href="./IO::Compress::Lzop.html#Constructor-Options">&quot;Constructor Options&quot;</a>.</p>

<p>It returns an <code>IO::Compress::Lzop</code> object on success and <code>undef</code> on failure. The variable <code>$LzopError</code> will contain an error message on failure.</p>

<p>If you are running Perl 5.005 or better the object, <code>$z</code>, returned from IO::Compress::Lzop can be used exactly like an <a href="https://metacpan.org/pod/IO::File">IO::File</a> filehandle. This means that all normal output file operations can be carried out with <code>$z</code>. For example, to write to a compressed file/buffer you can use either of these forms</p>

<pre><code>    $z-&gt;print(&quot;hello world\n&quot;);
    print $z &quot;hello world\n&quot;;</code></pre>

<p>Below is a simple exaple of using the OO interface to create an output file <code>myfile.lzo</code> and write some data to it.</p>

<pre><code>    my $filename = &quot;myfile.lzo&quot;;
    my $z = IO::Compress::Lzop-&gt;new($filename)
        or die &quot;IO::Compress::Lzop failed: $LzopError\n&quot;;

    $z-&gt;print(&quot;abcde&quot;);
    $z-&gt;close();</code></pre>

<p>See the <a href="./IO::Compress::Lzop.html#Examples">&quot;Examples&quot;</a> for more.</p>

<p>The mandatory parameter <code>$output</code> is used to control the destination of the compressed data. This parameter can take one of these forms.</p>

<dl>

<dt id="A-filename2"><a id="A6"></a>A filename</dt>
<dd>

<p>If the <code>$output</code> parameter is a simple scalar, it is assumed to be a filename. This file will be opened for writing and the compressed data will be written to it.</p>

</dd>
<dt id="A-filehandle2"><a id="A7"></a>A filehandle</dt>
<dd>

<p>If the <code>$output</code> parameter is a filehandle, the compressed data will be written to it. The string &#39;-&#39; can be used as an alias for standard output.</p>

</dd>
<dt id="A-scalar-reference2"><a id="A8"></a>A scalar reference</dt>
<dd>

<p>If <code>$output</code> is a scalar reference, the compressed data will be stored in <code>$$output</code>.</p>

</dd>
</dl>

<p>If the <code>$output</code> parameter is any other type, <code>IO::Compress::Lzop</code>::new will return undef.</p>

<h2 id="Constructor-Options"><a id="Constructor1"></a>Constructor Options</h2>

<p><code>OPTS</code> is any combination of zero or more the following options:</p>

<dl>

<dt id="AutoClose-=&gt;-0|11"><a id="AutoClose1"></a><a id="AutoClose---0-11"></a><code>AutoClose =&gt; 0|1</code></dt>
<dd>

<p>This option is only valid when the <code>$output</code> parameter is a filehandle. If specified, and the value is true, it will result in the <code>$output</code> being closed once either the <code>close</code> method is called or the <code>IO::Compress::Lzop</code> object is destroyed.</p>

<p>This parameter defaults to 0.</p>

</dd>
<dt id="Append-=&gt;-0|11"><a id="Append1"></a><a id="Append---0-11"></a><code>Append =&gt; 0|1</code></dt>
<dd>

<p>Opens <code>$output</code> in append mode.</p>

<p>The behaviour of this option is dependent on the type of <code>$output</code>.</p>

<ul>

<li><p>A Buffer</p>

<p>If <code>$output</code> is a buffer and <code>Append</code> is enabled, all compressed data will be append to the end of <code>$output</code>. Otherwise <code>$output</code> will be cleared before any data is written to it.</p>

</li>
<li><p>A Filename</p>

<p>If <code>$output</code> is a filename and <code>Append</code> is enabled, the file will be opened in append mode. Otherwise the contents of the file, if any, will be truncated before any compressed data is written to it.</p>

</li>
<li><p>A Filehandle</p>

<p>If <code>$output</code> is a filehandle, the file pointer will be positioned to the end of the file via a call to <code>seek</code> before any compressed data is written to it. Otherwise the file pointer will not be moved.</p>

</li>
</ul>

<p>This parameter defaults to 0.</p>

</dd>
<dt id="Name-=&gt;-$string"><a id="Name"></a><a id="Name----string"></a><code>Name =&gt; $string</code></dt>
<dd>

<p>Stores the contents of <code>$string</code> in the name field lzop header.</p>

<p>If <code>Name</code> is not specified, no gzip NAME field will be created.</p>

</dd>
<dt id="Time-=&gt;-$number"><a id="Time"></a><a id="Time----number"></a><code>Time =&gt; $number</code></dt>
<dd>

<p>Sets the Time field in the lzop header to $number.</p>

<p>This field defaults to the time the <code>IO::Compress::Lzop</code> object was created if this option is not specified.</p>

</dd>
<dt id="Extra">Extra</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="BlockSize">BlockSize</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="Optimize">Optimize</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="Minimal">Minimal</dt>
<dd>

<p>Creates the smallest possible lzop file/buffer.</p>

<p>Disables the creation of all checksums.</p>

<p>No Name is stored.</p>

<p>TODO</p>

</dd>
<dt id="Strict-=&gt;-0|1"><a id="Strict"></a><a id="Strict---0-1"></a><code>Strict =&gt; 0|1</code></dt>
<dd>

<p>This is a placeholder option.</p>

</dd>
</dl>

<h2 id="Examples">Examples</h2>

<h3 id="Streaming1">Streaming</h3>

<p>This very simple command line example demonstrates the streaming capabilities of the module. The code reads data from STDIN or all the files given on the commandline, compresses it, and writes the compressed data to STDOUT.</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;

    my $z = IO::Compress::Lzop-&gt;new(&quot;-&quot;, Stream =&gt; 1)
        or die &quot;IO::Compress::Lzop failed: $LzopError\n&quot;;

    while (&lt;&gt;) {
        $z-&gt;print(&quot;abcde&quot;);
    }
    $z-&gt;close();</code></pre>

<p>Note the use of <code>&quot;-&quot;</code> to means <code>STDOUT</code>. Alternatively you can use <code>\*STDOUT</code>.</p>

<h3 id="Compressing-a-file-from-the-filesystem1"><a id="Compressing2"></a>Compressing a file from the filesystem</h3>

<p>To read the contents of the file <code>file1.txt</code> and write the compressed data to the file <code>file1.txt.lzo</code> there are a few options</p>

<p>Start by creating the compression object and opening the input file</p>

<pre><code>    use strict ;
    use warnings ;
    use IO::Compress::Lzop qw(lzop $LzopError) ;

    my $input = &quot;file1.txt&quot;;
    my $z = IO::Compress::Lzop-&gt;new(&quot;file1.txt.lzo&quot;)
        or die &quot;IO::Compress::Lzop failed: $LzopError\n&quot;;

    # open the input file
    open my $fh, &quot;&lt;&quot;, &quot;file1.txt&quot;
        or die &quot;Cannot open file1.txt: $!\n&quot;;

    # loop through the input file &amp; write to the compressed file
    while (&lt;$fh&gt;) {
        $z-&gt;print($_);
    }

    # not forgetting to close the compressed file
    $z-&gt;close();</code></pre>

<h1 id="Methods">Methods</h1>

<h2 id="print">print</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;print($data)
    print $z $data</code></pre>

<p>Compresses and outputs the contents of the <code>$data</code> parameter. This has the same behaviour as the <code>print</code> built-in.</p>

<p>Returns true if successful.</p>

<h2 id="printf">printf</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;printf($format, $data)
    printf $z $format, $data</code></pre>

<p>Compresses and outputs the contents of the <code>$data</code> parameter.</p>

<p>Returns true if successful.</p>

<h2 id="syswrite">syswrite</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;syswrite $data
    $z-&gt;syswrite $data, $length
    $z-&gt;syswrite $data, $length, $offset</code></pre>

<p>Compresses and outputs the contents of the <code>$data</code> parameter.</p>

<p>Returns the number of uncompressed bytes written, or <code>undef</code> if unsuccessful.</p>

<h2 id="write">write</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;write $data
    $z-&gt;write $data, $length
    $z-&gt;write $data, $length, $offset</code></pre>

<p>Compresses and outputs the contents of the <code>$data</code> parameter.</p>

<p>Returns the number of uncompressed bytes written, or <code>undef</code> if unsuccessful.</p>

<h2 id="flush">flush</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;flush;</code></pre>

<p>Flushes any pending compressed data to the output file/buffer.</p>

<p>TODO</p>

<p>Returns true on success.</p>

<h2 id="tell">tell</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;tell()
    tell $z</code></pre>

<p>Returns the uncompressed file offset.</p>

<h2 id="eof">eof</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;eof();
    eof($z);</code></pre>

<p>Returns true if the <code>close</code> method has been called.</p>

<h2 id="seek">seek</h2>

<pre><code>    $z-&gt;seek($position, $whence);
    seek($z, $position, $whence);</code></pre>

<p>Provides a sub-set of the <code>seek</code> functionality, with the restriction that it is only legal to seek forward in the output file/buffer. It is a fatal error to attempt to seek backward.</p>

<p>Empty parts of the file/buffer will have NULL (0x00) bytes written to them.</p>

<p>The <code>$whence</code> parameter takes one the usual values, namely SEEK_SET, SEEK_CUR or SEEK_END.</p>

<p>Returns 1 on success, 0 on failure.</p>

<h2 id="binmode">binmode</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;binmode
    binmode $z ;</code></pre>

<p>This is a noop provided for completeness.</p>

<h2 id="opened">opened</h2>

<pre><code>    $z-&gt;opened()</code></pre>

<p>Returns true if the object currently refers to a opened file/buffer.</p>

<h2 id="autoflush">autoflush</h2>

<pre><code>    my $prev = $z-&gt;autoflush()
    my $prev = $z-&gt;autoflush(EXPR)</code></pre>

<p>If the <code>$z</code> object is associated with a file or a filehandle, this method returns the current autoflush setting for the underlying filehandle. If <code>EXPR</code> is present, and is non-zero, it will enable flushing after every write/print operation.</p>

<p>If <code>$z</code> is associated with a buffer, this method has no effect and always returns <code>undef</code>.</p>

<p><b>Note</b> that the special variable <code>$|</code> <b>cannot</b> be used to set or retrieve the autoflush setting.</p>

<h2 id="input_line_number">input_line_number</h2>

<pre><code>    $z-&gt;input_line_number()
    $z-&gt;input_line_number(EXPR)</code></pre>

<p>This method always returns <code>undef</code> when compressing.</p>

<h2 id="fileno">fileno</h2>

<pre><code>    $z-&gt;fileno()
    fileno($z)</code></pre>

<p>If the <code>$z</code> object is associated with a file or a filehandle, <code>fileno</code> will return the underlying file descriptor. Once the <code>close</code> method is called <code>fileno</code> will return <code>undef</code>.</p>

<p>If the <code>$z</code> object is associated with a buffer, this method will return <code>undef</code>.</p>

<h2 id="close">close</h2>

<pre><code>    $z-&gt;close() ;
    close $z ;</code></pre>

<p>Flushes any pending compressed data and then closes the output file/buffer.</p>

<p>For most versions of Perl this method will be automatically invoked if the IO::Compress::Lzop object is destroyed (either explicitly or by the variable with the reference to the object going out of scope). The exceptions are Perl versions 5.005 through 5.00504 and 5.8.0. In these cases, the <code>close</code> method will be called automatically, but not until global destruction of all live objects when the program is terminating.</p>

<p>Therefore, if you want your scripts to be able to run on all versions of Perl, you should call <code>close</code> explicitly and not rely on automatic closing.</p>

<p>Returns true on success, otherwise 0.</p>

<p>If the <code>AutoClose</code> option has been enabled when the IO::Compress::Lzop object was created, and the object is associated with a file, the underlying file will also be closed.</p>

<h2 id="newStream([OPTS])"><a id="newStream"></a><a id="newStream-OPTS"></a>newStream([OPTS])</h2>

<p>Usage is</p>

<pre><code>    $z-&gt;newStream( [OPTS] )</code></pre>

<p>Closes the current compressed data stream and starts a new one.</p>

<p>OPTS consists of any of the options that are available when creating the <code>$z</code> object.</p>

<p>See the <a href="./IO::Compress::Lzop.html#Constructor-Options">&quot;Constructor Options&quot;</a> section for more details.</p>

<h1 id="Importing">Importing</h1>

<p>No symbolic constants are required by IO::Compress::Lzop at present.</p>

<dl>

<dt id=":all"><a id="all"></a>:all</dt>
<dd>

<p>Imports <code>lzop</code> and <code>$LzopError</code>. Same as doing this</p>

<pre><code>    use IO::Compress::Lzop qw(lzop $LzopError) ;</code></pre>

</dd>
</dl>

<h1 id="EXAMPLES">EXAMPLES</h1>

<h1 id="SUPPORT">SUPPORT</h1>

<p>General feedback/questions/bug reports should be sent to <a href="https://github.com/pmqs/IO-Compress-Lzop/issues">https://github.com/pmqs/IO-Compress-Lzop/issues</a> (preferred) or <a href="https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Compress-Lzop">https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Compress-Lzop</a>.</p>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p><a href="https://metacpan.org/pod/Compress::Zlib">Compress::Zlib</a>, <a href="https://metacpan.org/pod/IO::Compress::Gzip">IO::Compress::Gzip</a>, <a href="https://metacpan.org/pod/IO::Uncompress::Gunzip">IO::Uncompress::Gunzip</a>, <a href="https://metacpan.org/pod/IO::Compress::Deflate">IO::Compress::Deflate</a>, <a href="https://metacpan.org/pod/IO::Uncompress::Inflate">IO::Uncompress::Inflate</a>, <a href="https://metacpan.org/pod/IO::Compress::RawDeflate">IO::Compress::RawDeflate</a>, <a href="https://metacpan.org/pod/IO::Uncompress::RawInflate">IO::Uncompress::RawInflate</a>, <a href="https://metacpan.org/pod/IO::Compress::Bzip2">IO::Compress::Bzip2</a>, <a href="https://metacpan.org/pod/IO::Uncompress::Bunzip2">IO::Uncompress::Bunzip2</a>, <a href="./IO::Compress::Lzma.html">IO::Compress::Lzma</a>, <a href="./IO::Uncompress::UnLzma.html">IO::Uncompress::UnLzma</a>, <a href="./IO::Compress::Xz.html">IO::Compress::Xz</a>, <a href="./IO::Uncompress::UnXz.html">IO::Uncompress::UnXz</a>, <a href="./IO::Compress::Lzip.html">IO::Compress::Lzip</a>, <a href="./IO::Uncompress::UnLzip.html">IO::Uncompress::UnLzip</a>, <a href="./IO::Uncompress::UnLzop.html">IO::Uncompress::UnLzop</a>, <a href="./IO::Compress::Lzf.html">IO::Compress::Lzf</a>, <a href="./IO::Uncompress::UnLzf.html">IO::Uncompress::UnLzf</a>, <a href="./IO::Compress::Zstd.html">IO::Compress::Zstd</a>, <a href="./IO::Uncompress::UnZstd.html">IO::Uncompress::UnZstd</a>, <a href="https://metacpan.org/pod/IO::Uncompress::AnyInflate">IO::Uncompress::AnyInflate</a>, <a href="https://metacpan.org/pod/IO::Uncompress::AnyUncompress">IO::Uncompress::AnyUncompress</a></p>

<p><a href="https://metacpan.org/pod/IO::Compress::FAQ">IO::Compress::FAQ</a></p>

<p><a href="https://metacpan.org/pod/File::GlobMapper">File::GlobMapper</a>, <a href="./Archive::Zip.html">Archive::Zip</a>, <a href="https://metacpan.org/pod/Archive::Tar">Archive::Tar</a>, <a href="https://metacpan.org/pod/IO::Zlib">IO::Zlib</a></p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>This module was written by Paul Marquess, <code>pmqs@cpan.org</code>.</p>

<h1 id="MODIFICATION-HISTORY"><a id="MODIFICATION"></a>MODIFICATION HISTORY</h1>

<p>See the Changes file.</p>

<h1 id="COPYRIGHT-AND-LICENSE"><a id="COPYRIGHT"></a>COPYRIGHT AND LICENSE</h1>

<p>Copyright (c) 2005-2023 Paul Marquess. All rights reserved.</p>

<p>This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install IO::Compress::Lzop, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm IO::Compress::Lzop</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install IO::Compress::Lzop</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./IO::Compress::Lzop.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
